/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gui;

import java.awt.BorderLayout;



/**
 *
 * @author Mamadou
 */
public class PanelListerConsultant extends javax.swing.JPanel {

    /**
     * Creates new form PanelListerConsultant
     */
    public PanelListerConsultant() {
    	//usersMetier=new UsersMetier();
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        boutonModifier = new javax.swing.JButton();
        boutonSupprimer = new javax.swing.JButton();
        boutonImprimer = new javax.swing.JButton();
        boutonRechercher = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        panelCentreListeConsultant = new javax.swing.JPanel();

        jLabel1.setText("jLabel1");

        setBackground(new java.awt.Color(223, 242, 255));
        setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));
        setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        setMaximumSize(new java.awt.Dimension(743, 317));
        setMinimumSize(new java.awt.Dimension(743, 317));
        setPreferredSize(new java.awt.Dimension(743, 317));
        setLayout(new java.awt.BorderLayout());

        jPanel1.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));
        jPanel1.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jPanel1.setPreferredSize(new java.awt.Dimension(741, 40));

        boutonModifier.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/photos/modifier.gif"))); // NOI18N
        boutonModifier.setToolTipText("Modifier");

        boutonSupprimer.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/photos/supprimer.gif"))); // NOI18N
        boutonSupprimer.setToolTipText("Supprimer");
        boutonSupprimer.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                boutonSupprimerActionPerformed(evt);
            }
        });

        boutonImprimer.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/photos/imprimer.gif"))); // NOI18N
        boutonImprimer.setToolTipText("Imprimer");

        boutonRechercher.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/photos/rechercher.png"))); // NOI18N
        boutonRechercher.setToolTipText("Rechercher un consultant");

        jLabel2.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel2.setText("LISTE DES CONSULTANTS");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(boutonModifier, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(boutonSupprimer, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(boutonImprimer, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(boutonRechercher, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(101, 101, 101)
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(259, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel2)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(boutonModifier, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(boutonSupprimer, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(boutonImprimer, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(boutonRechercher, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)))
        );

        add(jPanel1, java.awt.BorderLayout.PAGE_START);

        panelCentreListeConsultant.setBackground(new java.awt.Color(223, 242, 255));
        panelCentreListeConsultant.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));

        javax.swing.GroupLayout panelCentreListeConsultantLayout = new javax.swing.GroupLayout(panelCentreListeConsultant);
        panelCentreListeConsultant.setLayout(panelCentreListeConsultantLayout);
        panelCentreListeConsultantLayout.setHorizontalGroup(
            panelCentreListeConsultantLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 739, Short.MAX_VALUE)
        );
        panelCentreListeConsultantLayout.setVerticalGroup(
            panelCentreListeConsultantLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 273, Short.MAX_VALUE)
            //.addComponent(usersMetier.tableauListUsers())
            
        );

        add(panelCentreListeConsultant, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents

    public javax.swing.JPanel getPanelCentreListeConsultant() {
		return panelCentreListeConsultant;
	}

	public void setPanelCentreListeConsultant(
			javax.swing.JPanel panelCentreListeConsultant) {
		this.panelCentreListeConsultant = panelCentreListeConsultant;
	}

	private void boutonSupprimerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_boutonSupprimerActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_boutonSupprimerActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton boutonImprimer;
    private javax.swing.JButton boutonModifier;
    private javax.swing.JButton boutonRechercher;
    private javax.swing.JButton boutonSupprimer;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel panelCentreListeConsultant;
   // UsersMetier 	usersMetier;
    // End of variables declaration//GEN-END:variables
}
